package strcy.cn.market.service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import strcy.cn.market.mapper.OrderDetailsMapper;
import strcy.cn.market.pojo.VO.OrderDetailsVO;
import strcy.cn.market.service.OrderDetailsService;

import java.util.List;

@Service
public class OrderDetailsServiceImpl implements OrderDetailsService {
    @Autowired
    private OrderDetailsMapper orderDetailsMapper;

    @Override
    public List<OrderDetailsVO> listByOrderId(String orderId) {
        List<OrderDetailsVO> list = orderDetailsMapper.list(orderId);
        return list;
    }
}
